package com.myschool.server.model;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "subject_master")
public class SubjectMaster extends BaseEntity {

	private String name;

	private String description;

	public SubjectMaster() {

	}

	public SubjectMaster(Long id, String name, String desc) {
		this.entityId = id;
		this.name = name;
		this.description = desc;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}
